import React from 'react'
import style from './style.module.css'


function Index({ item_left, item_right, clickFn }) {
    return (
        <div onClick={() => {
            clickFn()
        }}>
            <div className={style['list_item']}>
                <div>{item_left}</div>
                <div>{item_right}</div>
            </div>
            <div className={style['line']}></div>
        </div>
    )
}

export default Index